import { ENV } from '@/config/constant'

// tiya domain
const DOMAIN = {
  OPS: {
    prod: `ops.tiyalive.com`,
    dev: `172.18.4.2:7517`, //ops.yfxn.lizhi.fm
  },
  WEB: {
    prod: `h5zy.tiyalive.com`,
    dev: `tyh5.yfxn.lizhi.fm`,
  },
  MK: {
    prod: `mk.tiyalive.com`,
    dev: `mkoffice.yfxn.lizhi.fm`,
  },
  LOTTERY: {
    prod: `lottery.tiyalive.com`,
    pre: `lotterypre.tiyalive.com`,
    dev: `172.17.10.23:7529`,
  },
  SIGNHOST: {
    prod: `h5zy.tiyalive.com`,
    dev: `tyh5.yfxn.lizhi.fm`,
  },
  FE: {
    prod: `tiyalive.com`,
    dev: `tiyalive.yfxn.lizhi.fm/static`,
  },
}

export const SIGN_HOST = `//${DOMAIN.WEB[ENV]}`
export const API_WEB_URL = `//${DOMAIN.WEB[ENV]}`
export const API_OPS_URL = `//${DOMAIN.OPS[ENV]}`
export const API_MK_URL = `//${DOMAIN.MK[ENV]}`
export const API_LOTTERY_URL = `//${DOMAIN.LOTTERY[ENV]}`
export const MOCK_URL = '//yapi.feoffice.lizhi.fm/mock/1439'
